package com.yw.interfaceManageInfo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yw.interfaceManageInfo.dto.InValueDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@TableName(value = "interfacemanage")
public class InterfaceManageInfo {

    @Id
    @Schema(description = "内码",name = "id")
    private Integer id;

    @Schema(description = "接口名称",name = "interfaceName")
    private String interfaceName;

    @Schema(description = "接口描述",name = "interfaceDesc")
    private String interfaceDesc;

    @Schema(description = "接口分类",name = "interfaceType")
    private String interfaceType;

    @Schema(description = "接口来源",name = "source")
    private String source;

    @Schema(description = "api状态",name = "apiState")
    private Integer apiState;

    @Schema(description = "更新时间",name = "updateTime")
    private LocalDateTime updateTime;

    @Schema(description = "创建时间",name = "createTime")
    private LocalDateTime createTime;

    @Schema(description = "协议",name = "agreement")
    private String agreement;

    @Schema(description = "ip",name = "ip")
    private String ip;

    @Schema(description = "路径",name = "path")
    private String path;

    @Schema(description = "请求方式",name = "requestMethod")
    private String requestMethod;

    @Schema(description = "超时时间",name = "timeout")
    private Integer timeout;

    @Schema(description = "输入参数",name = "inValue")
    private String inValue;

    @Schema(description = "输出参数",name = "outValue")
    private String outValue;

    @Schema(description = "请求body",name = "requestBody")
    private String requestBody;
}
